<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="author" content="lijinbo" />
    <meta name="cdnload" content="vue" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">
      {{ msg }}
      <hr />
      <sync-com v-for="e in 5" :key="e" :index="e"></sync-com>
    </div>
    <script>
      async function getCom() {
        return await import('./b.js')
      }
      new Vue({
        el: '#app',
        components: {
          'sync-com': () => getCom()
        },
        data() {
          return {
            msg: 'hello vue'
          }
        }
      })
    </script>
  </body>
</html>
